<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/include.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<META http-equiv="Cache-Control" content="no-cache, must-revalidate">
		<title>admin panel</title>
		<link rel="stylesheet" type="text/css" href="css/style_base.css" />
		<link rel="stylesheet" type="text/css" href="css/businesscard.css" />
		<script language="javascript" src="js/jquery-1.6.2.min.js"></script>
		<script language="javascript" src="js/jquery.blockUI.js"></script>
		<script language="javascript" src="js/artDialog/artDialog.js?skin=blue"></script>
		<script language="javascript" src="js/jquery.harrypag.js"></script>
		<script language="javascript" src="js/base.js"></script>
		<script language="javascript" src="js/businesscard.js"></script>
		<script type="text/javascript">
$(document).ready(function(){
	getCardGroupInfo();
});
var cardGroupInfo = {};
function getCardGroupInfo(){
	$.getJSON("get_business_card_group_info.do?_random="+(new Date()).getTime(),function(result){
		cardGroupInfo=result;
	});
}
</script>
		<!--[if gte IE 5]>
<style type="text/css">
#main {_width:expression( documentElement.clientWidth < 1110 ? (documentElement.clientWidth == 0 ? (body.clientWidth < 1110 ? "1110" : "auto") : "1010px") : "auto" );}
</style>
<![endif]-->
		<style>
#header,#footer {
	min-width: 1100px;
}

#wrapper {
	min-width: 941px;
}
</style>
	</head>
	<body>
		<div id="main">
			<div id="header">
				<div class="logo"></div>
				<div id="topnav">
					<ul id="headUI">
						<c:forEach items="${info.topMenu.list}" var="item">
							<li><a href="${item.source}" <c:if test="${info.currentMenu == item.menucode}">class="on"</c:if>>${item.menuname}</a></li>
						</c:forEach>
					</ul>
				</div>
			</div>
			<div id="wrapper">
				<div id="sidebar">
					<div id="lhead">
						名片分组
					</div>
					<ul id="sideUl">
						<li><a href="javascript:void(0);" class="on" onclick="loadContainer108('business_card_management.do');" id="link_group_all" style="padding-left: 12px">&bull; 全部名片</a></li>
						<li><a href="javascript:void(0);" onclick="loadContainer108('business_card_management.do?groupid=nullgroup');" id="link_group_null" style="padding-left: 12px">&bull; 未分组名片</a></li>
						<c:forEach items="${info.groupList}" var="group">
							<li id="group_li_${group.id}"><a href="javascript:void(0);" onclick="loadContainer108('business_card_management.do?groupid=${group.id}');">${group.groupname}</a></li>
						</c:forEach>
					</ul>
				</div>
				<div id="container">
				</div>
			</div>
			<div id="footer">
				<div id="footRight">
					<span style="color: #FFFFFF; font-weight: bold;">欢迎您：<span id="userinfo">${info.userinfo}</span>
					</span>
					<a class="help" href="javascript:void(0)">系统帮助</a>
					<a class="question" href="javascript:void(0);">系统帮助</a>
					<a class="logout" href="javascript:quit()">退出系统</a>
				</div>
			</div>
		</div>

	</body>
</html>